if (typeof String.prototype.endsWith != 'function') {String.prototype.endsWith = function (suffix){return this.slice(-1*suffix.length) === suffix;};}var __import = function(imports){var resources = [];for(var i=0;i<imports.length;i++){if(!imports[i]){continue;}if(imports[i].endsWith(".js")){resources.push('<script src="'+imports[i]+'" type="text/javascript"></sc' + 'ript>');}else if(imports[i].endsWith(".css")){resources.push('<link href='+imports[i]+' rel="stylesheet" type="text/css" />');}}document.write(resources.join(''));}
/*
    您自定义的组件的渲染逻辑都可以在下面引入进来:这些资源是脱离布局器独立运行的最小化依赖资源
*/
__import([
    "assets/drag/js/user/iframe/magicalcoder/components/magicalcoder.css",
    "assets/drag/ui/element/2.10.1/element.css",
    "assets/drag/js/lib/leaflet/leaflet.css",
    "assets/drag/js/lib/json3.js",
    "assets/drag/js/lib/jscore.js",
    "assets/drag/js/lib/vue/es6-promise.auto.min.js",
    "assets/drag/js/lib/vue/es6-promise.min.js",
    "assets/drag/js/lib/echarts/4.6.0/echarts.min.js",
    "assets/drag/js/lib/echarts/datatool.min.js",
    "assets/drag/js/lib/vue/vue.js",
    "assets/drag/ui/element/2.10.1/element.js",
    "assets/drag/js/lib/vue/axios.js",
    "assets/drag/js/lib/leaflet/leaflet.js",
    /*由于各个ui都可以复用下面这几个通用的组件，所以我们提取出来放入magicalcoder目录*/
    "assets/drag/js/user/iframe/magicalcoder/components/mc-utils.js",
    "assets/drag/js/user/iframe/magicalcoder/components/mc-geometry.js",
    "assets/drag/js/user/iframe/magicalcoder/components/mc-echarts.js",
    "assets/drag/js/user/iframe/magicalcoder/components/user.js",
    "assets/drag/js/user/iframe/magicalcoder/components/deal-select.js",
    "assets/drag/js/user/iframe/magicalcoder/components/date-picker.js",
    "assets/drag/js/user/iframe/magicalcoder/components/children-form.js",
    "assets/drag/js/user/iframe/magicalcoder/components/dict-select.js",
    "assets/drag/js/user/iframe/magicalcoder/components/deal-autocomplete.js",
    "assets/drag/js/user/iframe/magicalcoder/components/manage-company.js",
    "assets/drag/js/user/iframe/magicalcoder/components/dept-company.js",
    "assets/drag/js/user/iframe/magicalcoder/components/money-format.js",
    "assets/drag/js/user/iframe/magicalcoder/components/company-area-cascader.js",
    "assets/drag/js/user/iframe/magicalcoder/components/company-autocomplete.js",
    "assets/drag/js/user/iframe/magicalcoder/components/company-industry.js",
])
function IframeComponents (){
}
/*这个方法会在html渲染完主动执行 已经写入constant.js的defaultJavascript默认脚本了*/
IframeComponents.prototype.execute = function(){
    new McECharts().render();//统计图
    new McGeometry();//形状
}
